package com.ruoyi.hotel.domain.dto;


import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.hotel.domain.HlMember;
import com.ruoyi.hotel.domain.HlUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 会员记录对象 hl_booking
 * 
 * @author ruoyi
 * @date 2022-12-10
 */
public class HlMemberRecordDTO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员记录id */
    private Integer id;

    /** 用户id */
    private Integer userId;

    /** 会员权限id */
    private Integer memberId;

    /** 会员记录状态 */
    private String state;

    /** 用户信息 */
    private HlUser user;

    /** 会员权限信息 */
    private HlMember member;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public HlUser getUser() {
        return user;
    }

    public void setUser(HlUser user) {
        this.user = user;
    }

    public HlMember getMember() {
        return member;
    }

    public void setMember(HlMember member) {
        this.member = member;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("memberId", getMemberId())
            .append("state", getState())
            .append("user", getUser())
            .append("member", getMember())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
